<template>
    <div>
        <div>
            <!--        面包屑-->
            <el-breadcrumb separator="/">
                <el-breadcrumb-item :to="{ path: '/home' }">系统设置</el-breadcrumb-item>
                <el-breadcrumb-item>广告设置</el-breadcrumb-item>
            </el-breadcrumb>
            <!--        面包屑 end-->
            <!--        内容-->
            <el-card>
                <el-tabs v-model="activeName" type="card" @tab-click="handleClick">
                    <el-tab-pane label="广告设置" name="first">
                        <advSet></advSet>
                    </el-tab-pane>
                    <el-tab-pane label="广告列表" name="second">
                        <systemAdvertising></systemAdvertising>
                    </el-tab-pane>
                </el-tabs>
            </el-card>
        </div>
    </div>
</template>

<script>
    import advSet from '../../components/System_Advertising/adv_set'
    import systemAdvertising from '../../components/System_Advertising/System_Advertising'
    export default {
        name: "System_Advertising",
        components:{systemAdvertising,advSet},
        data() {
            return {
                params: {
                    pagenum: 1,
                    pagesize: 10,
                },
                form: {
                    name: '',
                },
                activeName:'first',
                fromTitle:'',
                visible:false,
                imageUrl:''
            }
        },
        methods: {
            viewClick(score){
                console.log(score)
            },
            handleClick(){

            },
        }
    }
</script>

<style scoped>

</style>